package com.longrise.android.byjk.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

/**
 * Created by sujizhong on 2017/3/2.
 */

public class Nextnodeinfo {

    /**
     * 课件名称
     */
    @Expose
    @SerializedName("name")
    public String name;

    /**
     * 规定总学时
     */
    @Expose
    @SerializedName("totaltraintime")
    public double totaltraintime;

    /**
     * 课件id
     */
    @Expose
    @SerializedName("cwid")
    public String cwid;

    /**
     * 课件配置路径
     */
    @Expose
    @SerializedName("pathno")
    public String pathno;

    /**
     * 课件配置id
     */
    @Expose
    @SerializedName("id")
    public String id;

    /**
     * 当前课件是否通过(包含课后练习题)
     */
    @Expose
    @SerializedName("isfinish")
    public boolean isfinish;

    /**
     * 当前视频是否通过
     */
    @Expose
    @SerializedName("videopass")
    public boolean videopass;

    /**
     * 是否有课后练习题
     */
    @Expose
    @SerializedName("hasqa")
    public boolean hasqa;

    /**
     * 练习是否通过
     */
    @Expose
    @SerializedName("qapass")
    public boolean qapass;

    @Override
    public String toString() {
        return "{" +
                "name='" + name + '\'' +
                ", totaltraintime=" + totaltraintime +
                ", cwid='" + cwid + '\'' +
                ", pathno='" + pathno + '\'' +
                ", id='" + id + '\'' +
                ", isfinish=" + isfinish +
                ", videopass=" + videopass +
                ", hasqa=" + hasqa +
                ", qapass=" + qapass +
                '}';
    }
}

